package com.tongji.housediy.events.goodsEvent
{   	
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/2/15
	 */ 
	public class GetGoodsByDictEvent extends Event
	{
		public static const GET_GOODS_BY_DICT:String = "getGoodsByDict";
		public static const UPDATE_GOODS_MODEL:String = "updateGoodsModel";
		
		public var dictName:String;
		public var goodsModel:ArrayCollection;
		
		public function GetGoodsByDictEvent(type:String, dictName:String = null, goodsModel:ArrayCollection = null)
		{
			super(type);
			this.dictName = dictName;
			this.goodsModel = goodsModel;
		}
	
		override public function clone():Event
		{
			return new GetGoodsByDictEvent(type, dictName, goodsModel);
		}
	}
}